package io;

import java.io.File;

/**
 * date: 2023-2-22
 * 根据 File 对象，删除该文件。成功删除后返回 true
 */
public class IODemo3 {
    public static void main(String[] args) {
        File file = new File("./test.txt");
        file.delete();
    }
}
